<?php
$adminEmail =$_POST['admin_email'];
$adminPassword =$_POST['admin_password'];
$verifyCode = $_POST['verify_code'];
$rememberMe = $_POST['remember_me'] ?? '';

session_start();
if ($verifyCode != $_SESSION['verify_code']) {
    echo "验证码错误。<a href='login.php'>返回登录页</a>";
    exit();
}


include_once APP_PATH ."/model/login_check.php";
include_once APP_PATH ."/view/login_check.php";